package com.qf.j2112.service.impl;


import com.qf.j2112.po.SysMembershopRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.qf.j2112.mapper.SysMembershopRecordMapper;
import com.qf.j2112.service.SysMembershopRecordService;

import java.util.List;

/**
 * 会员消费记录Service业务层处理
 * @author j2112
 * @date 2022-04-12
 */

@Service
public class SysMembershopRecordServiceImpl implements SysMembershopRecordService {

    @Autowired
    private SysMembershopRecordMapper sysMembershopRecordMapper;


    @Override
    public SysMembershopRecord selectSysMembershopRecordByRecordMemberid(Integer recordMemberid) {
        return sysMembershopRecordMapper.selectSysMembershopRecordByRecordMemberid(recordMemberid);
    }


    @Override
    public List<SysMembershopRecord> selectSysMembershopRecordList() {
        return sysMembershopRecordMapper.selectSysMembershopRecordList();
    }


    @Override
    public int insertSysMembershopRecord(SysMembershopRecord sysMembershopRecord) {
        return sysMembershopRecordMapper.insertSysMembershopRecord(sysMembershopRecord);
    }

    @Override
    public int updateSysMembershopRecord(SysMembershopRecord sysMembershopRecord) {
        return sysMembershopRecordMapper.updateSysMembershopRecord(sysMembershopRecord);
    }


}
